package com.test.mooan.labama.utils_boom.analytics_boom.util_boom

import android.app.Application
import com.test.mooan.labama.activity_fragment_boom.base_boom.BaseApplication_boom
import com.test.mooan.labama.demo.Demo
import com.test.mooan.labama.utils_boom.helper_boom.UserInfoHelper_boom
import com.test.mooan.labama.utils_boom.http_boom.HttpManager_boom

//import com.test.mooan.labama.data_boom.ASBuilder_boom
//import com.test.mooan.labama.data_boom.ASSycManager_boom

object SycDeviceUtil_boom {

    /**
     * 初始化设备信息模块
     *
     * @param context Application
     */
    fun init(context: Application) {
        try {

        } catch (e: Exception) {
            e.printStackTrace()
        }
    }

    /**
     * 保存设备 s2s信息
     */
    fun saveS2SInfo() {
        try {
            if (UserInfoHelper_boom.gInstance().didLogin()) {
                //device info upload
                HttpManager_boom.getInstance().queryDeviceInfoType()
            }
        } catch (e: Exception) {
            e.printStackTrace()
        }
    }
}